<template>
  <div class="login">
    <yd-navbar title="提交认证信息"></yd-navbar>
    <yd-cell-group>
      <yd-cell-item>
        <span slot="left">提交人：</span>
        <yd-input slot="right" v-model="name" required :show-success-icon="false" :show-error-icon="false"
                  regex="mobile" placeholder="请输入真实姓名"></yd-input>
      </yd-cell-item>
      <yd-cell-item>
        <span slot="left">身份证：</span>
        <yd-input slot="right" v-model="idCard" required :show-success-icon="false" :show-error-icon="false"
                  regex="mobile" placeholder="请输入身份证号码"></yd-input>
      </yd-cell-item>
    </yd-cell-group>

    <yd-button-group>
      <yd-button size="large" @click.native="submitAuth" type="danger">
        提交
      </yd-button>
    </yd-button-group>

  </div>
</template>

<script>
  export default {
    data() {
      return {
        name: '',//姓名
        idCard: '', //身份证号码
      }
    },
    methods: {
      //提交信息
      submitAuth() {
        this.$router.push('/specialtyRelease')
      }
    }
  }
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
  @import "~common/stylus/variable"
  .agreement
    padding: 0 .24rem;
    margin-top: .3rem;
    color: $color-main;
    a
      margin-right: .1rem;
      font-size: .35rem;
      text-decoration: underline

</style>
